#include "test.hpp"
#include "exception_thrower.hpp"
#include "unexpected_invocation_exception.hpp"

namespace vimock {
TEST_CASE(throw_exception_test)
{
	exception_thrower thrower = unexpected_invocation_exception();
	assert_thrown(unexpected_invocation_exception, thrower.throw_exception());
}
TEST_CASE(copy_exception_thrower_test)
{
	exception_thrower thrower = unexpected_invocation_exception();
	exception_thrower thrower2 = thrower;
	assert_thrown(unexpected_invocation_exception, thrower2.throw_exception());
}
}
